<form id="form" class="container-fluid" action="{$submit_url}">
    <div class="form-group">
        <label class="control-label">标题</label>
        <input class="input" name="title" value="{$info.title}">
    </div>
    <div class="form-group">
        <label class="control-label">位置</label>
        <select name="position" class="input">
            {foreach $position_list as $key => $item}
            <option class="{$key}" {$info.position==$key?'selected':''}>{$key}</option>
            {/foreach}
        </select>
    </div>
    <div class="form-group">
        <label class="control-label">状态</label><br>
        <div class="btn-group" data-toggle="buttons">
            {foreach $status_list as $key => $item}
            <label class="btn {$info.status==$key?'active':''}">
                <input type="radio" {$info.status==$key?'checked':''} name="status" value="{$key}"> {$item}
            </label>
            {/foreach}
        </div>
    </div>
    <div class="form-group">
        <input type="hidden" name="id" value="{$info.id}">
       <input type="submit" class="btn btn-primary" value="提交">
    </div>
</form>
<script>
    $("#form").on("submit",function (e)
	{
        e.preventDefault();
        Admin.ajaxForm($(this));
	});
</script>